endorsements, and by using a visual data set, this visibility setting will

determine whether the input and output chaincode data is included in the

submission transaction, not j ust the output data, hashes and encrypts the data

before calling the chaincode. If the data is hashed, you need to provide a way

to share the data source, and if you encrypt the data, you need to provide a way

to share the decryption key. By building access control in chaincode logic, you

can restrict data access to certain roles in your organization; the still encrypted

data can be encrypted by the file encryption system on the peer, and the data in

the transmission is encrypted by TLS.

Hyperledger greenhouse structure

The advancement of cross-industry blockchain technologies through a global,

open-source consortium is Hyperledger hosted by the Linux Foundation. The

way business transactions are conducted across the globe is being transformed

by the use of technologies such as distributed ledgers, smart contracts, cost-

cutting, complexity, and the risk of centralized systems. In industries as diverse

as finance, banking, healthcare, supply chains, and manufacturing, it is making

waves.

The following figure shows the Hyperledger greenhouse structure:

Figure 6 .6 : H yperledger greenhouse structure

The three key features of a Hyperledger blockchain that is built on a modular

architecture for a regulated industry are performance, scalability, and trust

level. The transaction processing in the Hyperledger is separated into the

following three phases:

1. distributed logic processing and agreement through chaincode,

2. ordering of the transactions, and